/* 
* Checks if jQuery has been included
*/

/**
 * Checks if jQuery has been included.
 *
 * @return boolean True if jQuery has been included, or else false.
 */
function isJQueryIncluded() {
    return window.jQuery;
}

/**
 * Includes jQuery.
 */
function includeJQuery() {
    document.write("<script src='javascripts/jquery-1.5.1.min.js'>\x3C/script>");
}

if (false === isJQueryIncluded()) {
    includeJQuery();
}
